package org.dubnation.car.service;

import org.dubnation.base.util.AjaxResult;
import org.dubnation.car.domain.Car;
import org.dubnation.base.service.IBaseService;
import org.dubnation.car.domain.CarInfoVO;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhu
 * @since 2023-11-02
 */
public interface ICarService extends IBaseService<Car> {

    AjaxResult onSale(List<Long> ids, HttpServletRequest request);

    CarInfoVO getCarInfo(Long id);

    void insertCar(Car car, String token);

    void offSale(List<Long> ids);
}
